Image correction device, imaging device, image correction method, and image correction program

ABSTRACT

An image correction device includes a reception unit, a detection unit and a correction unit. The reception unit receives a first-image and a second-image, which are obtained by a first-imaging device and a second-imaging device, and an imaging condition that is at least one piece of information on an imaging date and time or information on an imaging location corresponding to each of the first-image and the second-image. The detection unit detects the same scene between images indicated by the first-image and the second-image based on the imaging conditions corresponding to each of the first-image and the second-image. The correction unit extracts, from each of the images indicated by the first-image and the second-image corresponding to the same scene, a common subject which is common between the images, and performs, on the corresponding image, color correction of making colors of the extracted common subject similar to each other.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a Continuation of PCT International Application No.PCT/JP2019/019311 filed on May 15, 2019, which claims priority under 35U.S.C § 119(a) to Japanese Patent Application No. 2018-126970 filed onJul. 3, 2018. Each of the above application(s) is hereby expresslyincorporated by reference, in its entirety, into the presentapplication.

BACKGROUND OF THE INVENTION 1. Field of the Invention

A technique of the present disclosure relates to an image correctiondevice, an imaging device, an image correction method, and anon-transitory computer readable recording medium storing an imagecorrection program.

2. Description of the Related Art

In related art, in a case where a user performs imaging of a commonimaging target by each of a plurality of imaging devices, moving imagesobtained by imaging by each imaging device are generally collected intoone moving image. For example, WO 2013/161319 A1 describes a techniqueof collecting and reproducing related moving image contents by selectingcontents to be reproduced from among a plurality of moving imagecontents based on an imaging time and space information related to themoving image contents.

SUMMARY OF THE INVENTION

On the other hand, as described above, in a case where the moving imagesobtained by imaging by each of the plurality of imaging devices arecollected into one moving image, imaging directions of the imagingdevices may be different from each other, or models and ages of theimaging devices may be different from each other. In this case, adifference in color between the moving images obtained by imaging by theimaging devices becomes relatively large. As a result, one moving imageobtained by collecting the moving images obtained by imaging by theimaging devices may be a moving image without a sense of unity in video.

The present disclosure has been made in consideration of the abovecircumstances, and an object of the present disclosure is to provide animage correction device, an imaging device, an image correction method,and a non-transitory computer readable recording medium storing an imagecorrection program capable of reducing a difference in color between themoving images obtained by imaging by each of the plurality of imagingdevices.

In order to achieve the above object, an image correction deviceaccording to a first aspect of the present disclosure comprises: areception unit that receives a plurality of pieces of moving image dataobtained by imaging by each of a plurality of imaging devices and atleast one piece of information on an imaging date and time orinformation on an imaging location corresponding to each of theplurality of pieces of moving image data; a detection unit that detectsthe same scene between images indicated by the plurality of pieces ofmoving image data based on the at least one piece of informationcorresponding to each of the plurality of pieces of moving image datareceived by the reception unit; and a correction unit that extracts,from each of the images indicated by the plurality of pieces of movingimage data corresponding to the same scene detected by the detectionunit, a subject which is common between the images and performs, on thecorresponding image, color correction of making colors of the extractedsubject similar to each other.

A second aspect of the present disclosure provides the image correctiondevice according to the first aspect, in which, in a case where aplurality of the subjects are extracted, the correction unit performs,on all of the plurality of subjects, color correction of making colorsof the subject similar to each other as a whole.

A third aspect of the present disclosure provides the image correctiondevice according to the first aspect or the second aspect, in which thecorrection unit performs the color correction by making saturations ofthe extracted subject similar to each other in a hue-dependent manner.

A fourth aspect of the present disclosure provides the image correctiondevice according to any one of the first aspect to the third aspect, inwhich the correction unit calculates a correction amount to be used forthe color correction, based on images in which brightness values of theextracted subject are regarded to be the same, among the imagesindicated by the plurality of pieces of moving image data correspondingto the same scene.

A fifth aspect of the present disclosure provides the image correctiondevice according to the fourth aspect, in which, in a case where aplurality of the subjects are extracted, the correction unit calculates,for each of the subjects, a correction amount to be used for the colorcorrection, based on images in which brightness values of the subjectare regarded to be the same.

A sixth aspect of the present disclosure provides the image correctiondevice according to any one of the first aspect to the fifth aspect, inwhich, after the color correction as first color correction isperformed, in a case where second color correction different from thefirst color correction is further performed on an image indicated by onepiece of moving image data among the plurality of pieces of moving imagedata, the correction unit performs the second color correction on imagesindicated by the other pieces of moving image data among the pluralityof pieces of moving image data.

A seventh aspect of the present disclosure provides the image correctiondevice according to any one of the first aspect to the sixth aspect, inwhich an upper limit of a correction amount of the color correction ispredetermined according to a type of the subject.

An imaging device according to an eighth aspect of the presentdisclosure comprises: an imaging unit that images a moving image of asubject and outputs moving image data obtained by imaging; a receptionunit that receives a plurality of pieces of moving image data, whichinclude moving image data output from the imaging unit and moving imagedata obtained by imaging by another imaging device, and at least onepiece of information on an imaging date and time or information on animaging location corresponding to each of the plurality of pieces ofmoving image data; a detection unit that detects the same scene betweenimages indicated by the plurality of pieces of moving image data basedon the at least one piece of information corresponding to each of theplurality of pieces of moving image data received by the reception unit;and a correction unit that extracts, from each of the images indicatedby the plurality of pieces of moving image data corresponding to thesame scene detected by the detection unit, a subject which is commonbetween the images and performs, on the corresponding image, colorcorrection of making colors of the extracted subject similar to eachother.

An image correction method according to a ninth aspect of the presentdisclosure is a method executed by a computer, the method comprising:receiving a plurality of pieces of moving image data obtained by imagingby each of a plurality of imaging devices and at least one piece ofinformation on an imaging date and time or information on an imaginglocation corresponding to each of the plurality of pieces of movingimage data; detecting the same scene between images indicated by theplurality of pieces of moving image data based on the at least one pieceof information corresponding to each of the plurality of pieces ofmoving image data which are received; and extracting, from each of theimages indicated by the plurality of pieces of moving image datacorresponding to the detected same scene, a subject which is commonbetween the images and performing, on the corresponding image, colorcorrection of making colors of the extracted subject similar to eachother.

A non-transitory computer readable recording medium storing an imagecorrection program according to a tenth aspect of the present disclosureis a non-transitory computer readable recording medium storing a programcausing a computer to execute a process comprising: receiving aplurality of pieces of moving image data obtained by imaging by each ofa plurality of imaging devices and at least one piece of information onan imaging date and time or information on an imaging locationcorresponding to each of the plurality of pieces of moving image data;detecting the same scene between images indicated by the plurality ofpieces of moving image data based on the at least one piece ofinformation corresponding to each of the plurality of pieces of movingimage data which are received; and extracting, from each of the imagesindicated by the plurality of pieces of moving image data correspondingto the detected same scene, a subject which is common between the imagesand performing, on the corresponding image, color correction of makingcolors of the extracted subject similar to each other.

Further, in order to achieve the above object, an image correctiondevice according to the present disclosure is an image correction deviceincluding a processor, the processor configured to: receive a pluralityof pieces of moving image data obtained by imaging by each of aplurality of imaging devices and at least one piece of information on animaging date and time or information on an imaging locationcorresponding to each of the plurality of pieces of moving image data;detect the same scene between images indicated by the plurality ofpieces of moving image data based on the at least one piece ofinformation corresponding to each of the plurality of pieces of movingimage data which are received; extract, from each of the imagesindicated by the plurality of pieces of moving image data correspondingto the detected same scene, a subject which is common between theimages; and perform, on the corresponding image, color correction ofmaking colors of the extracted subject similar to each other.

According to the present disclosure, it is possible to reduce adifference in color between moving images obtained by imaging by each ofa plurality of imaging devices.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a plan view illustrating an example of a configuration of animaging system according to an embodiment.

FIG. 2 is an explanatory diagram explaining an example of a first imageobtained by imaging by a first imaging device and an example of a secondimage obtained by imaging by a second imaging device according to theembodiment.

FIG. 3 is a block diagram illustrating an example of a hardwareconfiguration of an image correction device according to the embodiment.

FIG. 4 is a block diagram illustrating an example of a functionalconfiguration of the image correction device according to theembodiment.

FIG. 5 is a flowchart illustrating an example of a flow of imagecorrection processing executed by the image correction device accordingto a first embodiment.

FIG. 6 is a flowchart illustrating an example of a flow of colorcorrection processing executed by the image correction device accordingto the first embodiment.

FIG. 7 is a graph explaining an example of saturation correctionaccording to a common subject.

FIG. 8 is a graph explaining an example of saturation correctionaccording to a common subject.

FIG. 9 is a graph explaining an example of saturation correctionaccording to a common subject.

FIG. 10 is a graph explaining an example of a relationship between a hueangle and a correction amount.

FIG. 11 is an explanatory diagram explaining an example of a first imageand a second image according to a second embodiment.

FIG. 12 is a flowchart illustrating another example of a flow of colorcorrection processing according to the second embodiment.

FIG. 13 is a flowchart illustrating another example of a flow of imagecorrection processing according to a third embodiment.

FIG. 14 is a graph explaining an example of color correction by a user.

FIG. 15 is a graph explaining color correction according to the thirdembodiment.

FIG. 16 is a plan view illustrating another example of a configurationof an imaging system according to the embodiment.

FIG. 17 is a block diagram illustrating an example of a functionalconfiguration of a first imaging device illustrated in FIG. 16.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

Hereinafter, embodiments for implementation of a technique of thepresent disclosure will be described in detail with reference to thedrawings. In the following, an event in which a user obtains a capturedimage such as a moving image by capturing an imaging target by animaging device is referred to as imaging. Therefore, “imaging” in a casewhere a user performs imaging using an imaging device and “capturing” byan imaging device may be interchangeably used in some cases.

First Embodiment

First, a configuration of an imaging system 10 according to the presentembodiment will be described with reference to FIG. 1. As illustrated inFIG. 1, the imaging system 10 according to the present embodimentincludes two imaging devices of a first imaging device 12 and a secondimaging device 14, and an image correction device 16. The first imagingdevice 12 and the second imaging device 14 according to the presentembodiment are examples of a plurality of imaging devices of the presentdisclosure.

In the present embodiment, as an example, a form in which a usergenerates one moving image, that is, video content by imaging a personP, who is an imaging target, from different directions by the firstimaging device 12 and the second imaging device 14, editing movingimages obtained by each of the first imaging device 12 and the secondimaging device 14, and combining the moving images is described. Inimaging of the person P, a person who actually operates each of thefirst imaging device 12 and the second imaging device 14 may be oneperson or a plurality of persons, and in the present embodiment, isgenerically referred to simply as a “user”. In the following, a movingimage obtained by imaging by the first imaging device 12 is referred toas a “first image”, and a moving image obtained by imaging by the secondimaging device 14 is referred to as a “second image”. Further, each ofthe “first image” and the “second image” is generically referred to as a“moving image” without distinguishing the images.

FIG. 2 illustrates an example of the first image D1 obtained by imagingby the first imaging device 12 and the second image D2 obtained byimaging by the second imaging device 14. The first image D1 includes aperson image PG1 of the person P, a sky image SG1 of a sky S, a treeimage TG1 of a tree T, and a house image HG1 of a house H. In addition,the second image D2 includes a person image PG2 of the person P, a skyimage SG1 of the sky S, and a tree image TG2 of the tree T.

In the present embodiment, as an example, a form in which a usergenerates one moving image by editing the first image D1 and the secondimage D2 in a time-series order and combining the first image D1 and thesecond image D2 by connection is described. Specifically, a case where auser combines the first image D1 and the second image D2 in atime-series order, for example, the first image D1 from a start ofimaging of the person P to 3 minutes, the second image D2 from 3 minutesto 4 minutes, the first image D1 from 4 minutes to 7 minutes, and thelike is described. The method of combining the first image D1 and thesecond image D2 is not limited to the present embodiment. For example,by dividing one screen into two areas and mapping the first image D1 inthe one divided area and the second image D2 in the other divided area,the first image D1 and the second image D2 may be combined. In addition,the first image D1 and the second image D2 may be combined as a form inwhich one of the first image D1 and the second image D2 is combined withthe other image and both images are displayed at the same time.

Each of the first imaging device 12 and the second imaging device 14 isconnected to the image correction device 16 by a High-DefinitionMultimedia Interface (HDMI) (registered trademark) cable. The method forconnecting the first imaging device 12 and the second imaging device 14to the image correction device 16 is not limited to the presentembodiment, and may be a form in which other wired connection is used ormay be a form in which wireless connection is used. Further, a form inwhich each of the first imaging device 12 and the second imaging device14 is connected to the image correction device 16 by different methodsmay be used. The moving image data representing the moving imageobtained by imaging by each of the first imaging device 12 and thesecond imaging device 14 is output to the image correction device 16.

The image correction device 16 has a function of performing correctionof making colors similar to each other in the same scenes in the firstimage D1 obtained by imaging by the first imaging device 12 and thesecond image D2 obtained by imaging by the second imaging device 14.

A hardware configuration of the image correction device 16 according tothe present embodiment will be described with reference to FIG. 3. Asillustrated in FIG. 3, the image correction device 16 according to thepresent embodiment includes a central processing unit (CPU) 20, a memory21 as a temporary memory area, and a non-volatile storage unit 22.Further, the image correction device 16 includes a display unit 23 suchas a liquid crystal display, and an operation unit 24 including variousbuttons and the like. The display unit 23 and a part of the operationunit 24 are configured as an integrated touch panel display. Further,the image correction device 16 includes an external I/F 26 to which thefirst imaging device 12 and the second imaging device 14 are connected.The CPU 20, the memory 21, the storage unit 22, the display unit 23, theoperation unit 24, and the external I/F 26 are connected to a bus 29.Examples of the image correction device 16 include a personal computer,a server computer, and the like.

The storage unit 22 is realized by a hard disk drive (HDD), a solidstate drive (SSD), a flash memory, or the like. An image correctionprogram 30 is stored in the storage unit 22 as a storage medium. The CPU20 reads the image correction program 30 from the storage unit 22,develops the read image correction program 30 in the memory 21, andexecutes the developed image correction program 30.

Next, a functional configuration of the image correction device 16according to the present embodiment will be described with reference toFIG. 4. As illustrated in FIG. 4, the image correction device 16according to the present embodiment includes a reception unit 40, adetection unit 42, and a correction unit 44. The CPU 20 functions as thereception unit 40, the detection unit 42, and the correction unit 44 byexecuting the image correction program 30.

The reception unit 40 has a function of receiving the first image D1obtained by imaging by the first imaging device 12, the second image D2obtained by imaging by the second imaging device 14, and at least onepiece of information on an imaging date and time or information on animaging location corresponding to each of the first image D1 and thesecond image D2. In the present embodiment, at least one piece of theinformation on the imaging date and time or the information on theimaging location, which is associated with each moving image, isreferred to as an “imaging condition”. The “imaging date and time” maybe at least one of a year, a month, a day, or a time when the userperforms imaging by the first imaging device 12 or the second imagingdevice 14. The imaging date and time is not limited to a year, a month,a day, or a time, and may be information that can specify a year, amonth, a day, or a time. Further, the “imaging location” is not limitedto, for example, a specific geographic location obtained by a locationdetection sensor such as a global positioning system (GPS) sensor, andmay be information that can specify an imaging location such as a nameof the imaging location.

The detection unit 42 has a function of detecting the same scene betweenimages indicated by the first image D1 and the second image D2 based oninformation representing the imaging conditions corresponding to each ofthe first image D1 and the second image D2 received by the receptionunit 40.

The correction unit 44 has a function of extracting, from each of theimages indicated by the first image D1 and the second image D2corresponding to the same scene detected by the detection unit 42, asubject which is common between the images, and performing, on thecorresponding image, color correction of making colors of the extractedsubject similar to each other.

Next, an operation of the image correction device 16 according to thepresent embodiment will be described with reference to FIG. 5. The CPU20 executes the image correction program 30, and thus image correctionprocessing illustrated in FIG. 5 is executed. The image correctionprocessing illustrated in FIG. 5 is executed, for example, in a casewhere the first imaging device 12 and the second imaging device 14 areconnected to the image correction device 16.

In step S100 of FIG. 5, the reception unit 40 receives moving image dataand corresponding imaging conditions from each of the first imagingdevice 12 and the second imaging device 14. Specifically, the receptionunit 40 receives the first image D1 and the imaging condition of thefirst image D1 from the first imaging device 12, and receives the secondimage D2 and the imaging condition of the second image D2 from thesecond imaging device 14. The imaging conditions can be received by, forexample, obtaining exchangeable image file format (Exif) informationincluded in metadata of each of the first image D1 and the second imageD2.

In the next step S102, the detection unit 42 detects the same scenebetween the first image D1 and the second image D2 based on the imagingconditions received by the reception unit 40. In the present embodiment,“the same scene” means a scene in which the same imaging target isimaged by the first imaging device 12 and the second imaging device 14,a scene in which the same event is imaged, or a scene which is collectedas one video in a case where the user edits the first image D1 and thesecond image D2. The method of detecting the same scene based on theimaging conditions by the detection unit 42 is not particularly limited.As an example, in the present embodiment, first, the detection unit 42detects, in each of the first image D1 and the second image D2, the samescene in each moving image, and collects images (frames) included ineach moving image for each same scene. For example, the detection unit42 collects, in each of the first image D1 and the second image D2,images obtained by imaging within a predetermined time as images of thesame scene. Further, the detection unit 42 detects, in the first imageD1 and the second image D2, among image groups collected as the samescene, image groups in which a difference between the imaging dates andtimes is within a threshold value and a difference between the imaginglocations is within a threshold value, as the same scene.

In detection of the same scene, both of the imaging date and time andthe imaging location may be used, or only one of the imaging date andtime or the imaging location may be used. Information to be used todetect the same scene is not particularly limited. For example, a formin which information to be used is predetermined may be used, or a formin which information to be used is set by the user may be used. Themethod of detecting the same scene is not limited to the detectionmethod according to the present embodiment. For example, a form in whichinformation other than the imaging date and time and the imaginglocation is used may be used, or a form in which information indicatingthe same scene input by the user during imaging is detected may be used.

In the next step S104, the detection unit 42 determines whether or notthe same scene is detected between the first image D1 and the secondimage D2. In a case where the same scene is not detected, adetermination result in step S104 is No, and the image correctionprocessing is ended. On the other hand, in a case where the same sceneis detected, a determination result in step S104 is Yes, and the processproceeds to step S106.

In step S106, the detection unit 42 associates the detected same scenesbetween the first image D1 and the second image D2 with each other. Themethod in which the detection unit 42 associates the same scenes witheach other is not particularly limited. For example, a form in which thesame identifier may be given to each scene may be used.

In the next step S108, the correction unit 44 extracts, for each samescene between the first image D1 and the second image D2, a subject(hereinafter, referred to as a “common subject”) commonly included ineach image. For example, in a case of the first image D1 and the secondimage D2 illustrated in FIG. 2, the first image D1 includes a personimage PG1, a sky image SG1, and a tree image TG1, and the second imageD2 includes a person image PG2, a sky image SG2, and a tree image TG2.Thus, the subjects commonly included in both images are a face P1 of theperson P, the sky S, and the tree T. In this case, the correction unit44 extracts at least one of the person P, the sky S, or the tree T as acommon subject. The number of the common subjects extracted by thecorrection unit 44 may be one, or may be plural. A form in which thenumber of the common subjects is predetermined may be used, or a form inwhich the number of the common subjects is set by the user may be used.In addition, in a case where the number of the common subjects to beextracted is plural, from a viewpoint of preventing complication ofprocessing, an upper limit value may be set. Further, a form in which aspecific subject such as the set person P is extracted as a commonsubject according to an instruction and a setting from a user or thelike may be used.

The method in which the correction unit 44 extracts a common subjectfrom the images is not particularly limited, and a method according toeach subject may be applied. For example, in a case where the face P1 ofthe person P is a common subject, an existing face detection techniqueand a face recognition technique may be applied to the images, and thusthe face of the same person may be extracted as a common subject. Inaddition, for example, in a case where an object such as a tree T or ahouse H is a common subject, the same object may be extracted as acommon subject by applying, to the images, an existing objectrecognition technique of performing determination based on colors,resolution, contrast, angle of view, and the like. In addition, forexample, in a case where the sky S is a common subject, an existingtechnique of performing determination based on regions (as a specificexample, upper regions) in the images, colors, and the like, or anexisting technique of detecting the horizon and performing determinationbased on the horizon as a reference position may be applied, and thus asubject such as a sky may be extracted as a common subject.

In the next step S110, the correction unit 44 corrects a color of thecommon subject in the same scene between the first image D1 and thesecond image D2 by performing color correction processing of which anexample is illustrated in FIG. 6. In the color correction processing ofwhich an example is illustrated in FIG. 6, an image of one same scenebetween the first image D1 and the second image D2 is a correctiontarget. The color correction processing is repeated for each of the samescenes detected by the detection unit 42, that is, by the numbercorresponding to the same scenes. In addition, as an example, in thepresent embodiment, the first imaging device 12 is a main camera that ismainly used to capture an imaging target by the user, and the secondimaging device 14 is a sub camera. A form in which the color of thesecond image D2 obtained by the second imaging device 14 is made similarto the color of the first image D1 obtained by the first imaging device12 will be described.

In step S150 of FIG. 6, the correction unit 44 calculates a correctionamount. The method of calculating the correction amount is notparticularly limited. For example, the following calculation method maybe used.

First, an example of a method of calculating a correction amount in acase where the number of the extracted common subjects is one (single)will be described. For example, in a case where the common subject isthe face P1 of the person P, the correction unit 44 performs colorcorrection of making the color of the person image PG1, which isincluded in the image of the first image D1, and the color of the personimage PG2, which is included in the image of the second image D2,similar to each other such that a difference in color is within athreshold value, more preferably, the colors are the same. As anexample, in the present embodiment, correction of adjusting the color ofthe person image PG2 to the color of the person image PG1 is performed.The correction unit 44 performs processing of making the color of theperson image PG2 similar to the color of the person image PG1 byshifting the color of the person image PG2 by adjustment of whitebalance of the person image PG2, and processing of making the saturationof the person image PG2 similar to the saturation of the person imagePG1 by adjusting a gain (magnification) of the saturation. Therefore,the correction unit 44 calculates, as a correction amount, a shiftamount of the color and a magnification of the saturation.

Next, an example of a method of calculating a correction amount in acase where there are a plurality of extracted common subjects will bedescribed. For example, in a case where the common subjects are the faceP1 of the person P, the sky S, and the tree T, the correction unit 44performs color correction of making the color of the person image PG1,which is included in the image of the first image D1, and the color ofthe person image PG2, which is included in the image of the second imageD2, similar to each other such that a difference in color is within athreshold value, more preferably, the colors are the same. Further, thecorrection unit 44 performs color correction of making the color of thesky image SG1, which is included in the image of the first image D1, andthe color of the sky image SG2, which is included in the image of thesecond image D2, similar to each other such that a difference in coloris within a threshold value, more preferably, the colors are the same.Further, the correction unit 44 performs color correction of making thecolor of the tree image TG1, which is included in the image of the firstimage D1, and the color of the tree image TG2, which is included in theimage of the second image D2, similar to each other such that adifference in color is within a threshold value, more preferably, thecolors are the same. As an example, as illustrated in FIG. 7, it isassumed that the person image PG1, the sky image SG1, and the tree imageTG1 in the first image D1 and the person image PG2, the sky image SG2,and the tree image TG2 in the second image D2 have different colors(saturations). In the graph illustrated in FIG. 7, as a distance fromthe center is increased, the saturation becomes higher, and as a whole,the second image D2 has a lower saturation than the first image D1.

In the example illustrated in FIG. 7, since the saturation of the secondimage D2 is lower than the saturation of the first image D1 as describedabove, correction of making the saturation of the second image D2 higherin accordance with the saturation of the first image D1 is performed.FIG. 8 illustrates an example in which the saturation of the secondimage D2 is corrected with reference to the face P1 of the person P asthe common subject. In the form illustrated in FIG. 8, the correctionunit 44 calculates a correction amount (magnification) for matching thesaturation of the person image PG2 with the saturation of the personimage PG1, and also corrects the saturation of another common subjectbased on the calculated correction amount.

In the example illustrated in FIG. 8, since the saturation of the personimage PG1 and the saturation of the person image PG2 are matched witheach other as described above, the saturation of the sky image SG1 andthe saturation of the sky image SG2 are similar to each other but arenot matched with each other. On the other hand, the saturation of thetree image TG1 and the saturation of the tree image TG2 are similar toeach other but are not matched with each other. As described above, in acase where there are a plurality of common subjects, in a state where asaturation of a single common subject is set as a reference, saturationsof other common subjects may not necessarily be matched with thesaturation of the single common subject. In this case, there is noproblem as long as a difference in chromaticity is within apredetermined range. In a case where a difference in chromaticity is notwithin a predetermined range, for example, the common subject as areference may be changed. In addition, for example, a saturation of acommon subject may not be set as a reference, and saturations of all thecommon subjects may be corrected such that a difference in chromaticityis within a predetermined range. In the examples illustrated in FIG. 7and FIG. 8, only correction of the saturation is described. On the otherhand, instead of the saturation, or together with the saturation, ashift amount of the color (white balance) may be corrected, as in thecase of the single common subject described above. In this way, in acase of a form in which the correction amount is calculated using theplurality of common subjects, accuracy of color adjustment can beimproved as compared with a form in which the correction amount iscalculated using a single common subject.

Further, another example of a method of calculating a correction amountin a case where there are a plurality of extracted common subjects willbe described. As described above, it is assumed that the common subjectsare the face P1 of the person P, the sky S, and the tree T, and that thefirst image D1 and the second image D2 have a relationship illustratedin FIG. 8. First, the correction unit 44 calculates correction amountsfor making saturations of the face P1 of the person P, the sky S, andthe tree T, which are common subjects, similar to each other. Therefore,in some cases, the correction amount for making the saturation of theperson image PG2 similar to the saturation of the person image PG1, thecorrection amount for making the saturation of the sky image SG2 similarto the saturation of the sky image SG1, and the correction amount formaking the saturation of the tree image TG2 similar to the saturation ofthe tree image TG1 may be different from each other. FIG. 9 illustratesan example of a case where the correction amount is calculated for eachcommon subject and the saturation of the second image D2 is corrected.It can be seen that a form illustrated in FIG. 9 has a smallerdifference in saturation for all the common subjects than a formillustrated in FIG. 8.

In a case of the form, the correction unit 44 further calculates acorrection amount for each hue (hue angle) based on the correctionamount calculated for each common subject. FIG. 10 is a graphillustrating an example of a relationship between the hue angle and thecorrection amount (magnification) of the saturation in the second imageD2. In the hue angle on the horizontal axis of the graph illustrated inFIG. 10, the hue angle is set to 0 degrees in a case where the color ison the Cr axis and Cb=0 in FIG. 9. Further, a case where the correctionamount is 1 (magnification) indicates that the correction does not needto be performed. As illustrated in FIG. 10, the correction unit 44performs interpolation so as to smoothly connect correction amounts forthe face P1 of the person P, the sky S, and the tree T which are commonsubjects, and calculates a correction amount according to the hue angle.In the examples illustrated in FIG. 9 and FIG. 10, only correction ofthe saturation is described. On the other hand, instead of thesaturation, or together with the saturation, a shift amount of the color(white balance) may be corrected, as in the case of the single commonsubject described above. As described above, in a case where thecorrection amount is calculated for each of the plurality of commonsubjects and correction is performed for each hue, it is possible tomake the colors of all the images similar to each other as compared witha case where correction is performed for all hues based on a singlecorrection amount.

In a case where the correction unit 44 calculates a correction amount inthis way, in the next step S152, the correction unit 44 determineswhether or not the calculated correction amount is equal to or less thana predetermined upper limit value. The determination is preferablyperformed for each common subject in a case where a plurality of commonsubjects are detected, and upper limit values may be set according totypes of the common subjects such as a person, an object, and abackground. In a case where the correction amount exceeds the upperlimit value, a determination result in step S152 is No, and the processproceeds to step S154. In step S154, the correction unit 44 sets thecorrection amount to the upper limit value instead of the calculatedcorrection amount, and then the process proceeds to step S156.

On the other hand, in a case where the correction amount is equal to orless than the upper limit value, a determination result in step S152 isYes, and the process proceeds to step S156. In step S156, the correctionunit 44 performs color correction on each image included in the samescene for each imaging device and for each same scene, based on thecorrection amount, and then ends the color correction processing. In acase where the color correction processing is ended in this way, theprocess proceeds to step S112 of the image correction processing (referto FIG. 5).

In step S112, the correction unit 44 stores the color-corrected firstimage D1 and the color-corrected second image D2 in the storage unit 22,and then ends the image correction processing. According to a request ofthe user, the color-corrected first image D1 and the color-correctedsecond image D2 may be displayed on the display unit 23, or may beoutput to an external device via the external I/F 26.

Second Embodiment

Hereinafter, a second embodiment will be described in detail. In thepresent embodiment, the same components and operations as thosedescribed in the first embodiment are denoted by the same referencenumerals, and a detailed description thereof will be omitted.

The configurations of the imaging system 10 and the image correctiondevice 16 according to the present embodiment are similar to theconfigurations of the imaging system 10 and the image correction device16 according to the first embodiment (refer to FIGS. 1, 3, and 4), andthus a description thereof will be omitted.

On the other hand, an operation of the image correction device 16according to the present embodiment is different in a part of the colorcorrection processing executed in the image correction processing. Asdescribed above, the detection unit 42 detects the same scenes betweenthe first image D1 and the second image D2, and associates the samescenes with each other. Here, in some cases, brightness values(exposure) of images of the image group that are regarded to be the samescene in the first image D1 may be different. Similarly, in some cases,brightness values of images of the image group that are regarded to bethe same scene in the second image D2 may be different. For example, inan example illustrated in FIG. 11, the first image D1 and the secondimage D2, which are associated with the same scene by the detection unit42, respectively include three images (frames). The first image D1includes an image F11, an image F12, and an image F13. The brightnessvalue of the image F12 is higher than the brightness value of the imageF11, and the brightness value of the image F13 is lower than thebrightness value of the image F11. Further, the second image D2 includesan image F21, an image F22, and an image F23. The brightness value ofthe image F23 is higher than the brightness value of the image F22, andthe brightness value of the image F21 is lower than the brightness valueof the image F22. In the example illustrated in FIG. 11, the image F 11of the first image D1 and the image F22 of the second image D2, theimage F12 of the first image D1 and the image F23 of the second imageD2, and the image F13 of the first image D1 and the image F21 of thesecond image D2 are combinations in which the brightness values aresimilar to each other (for example, a difference in brightness value iswithin a predetermined threshold value).

In this way, in a case where brightness (brightness value) of the imageis different, the saturation of the same subject varies. For example, asin the image F13 and image F21, in a case where the brightness value isrelatively low and the image has a dark and blackish color, thesaturation decreases. On the other hand, as in the image F12 and theimage F23, in a case where the brightness value is relatively high andthe image has a bright and whitish color, the saturation increases. Thatis, even in a case of the same imaging device, the same scene, and thesame subject, the saturation may be different in some cases.

Therefore, in color correction according to the present embodiment, byperforming, on the first image D1 and the second image D2, correction ofmaking the colors of the common subjects extracted from the imageshaving similar brightness values similar to each other, an influence ofa difference in saturation due to a difference in brightness value asdescribed above is reduced.

FIG. 12 illustrates a flowchart illustrating an example of a flow ofcolor correction processing according to the present embodiment. Asillustrated in FIG. 12, the color correction processing according to thepresent embodiment is different in that processing of step S149 isperformed before step S150 of the color correction processing accordingto the first embodiment (refer to FIG. 6) and immediately after thecolor correction processing is started.

In step S149, the correction unit 44 specifies each image to be used forcalculating the correction amount from the first image D1 and the secondimage D2 based on the brightness value of each image. As describedabove, in a case of the example illustrated in FIG. 11, the correctionunit 44 specifies any one of the image F11 of the first image D1 and theimage F22 of the second image D2, the image F12 of the first image D1and the image F23 of the second image D2, or the image F13 of the firstimage D1 and the image F21 of the second image D2. In a case where colorcorrection is performed, preferably, the brightness value of the imageis not too high (not over high), and the brightness value of the imageis not too low (not under low). Therefore, as an example, in the presentembodiment, a brightness value range, which is to be applied to theimages used for calculating the correction amount, is predetermined, andthe correction unit 44 specifies a combination of images, which arewithin the predetermined range and have a small difference in brightnessvalue, as the images to be used for calculating the correction amount.In a case where a plurality of common subjects are extracted, thecorrection unit 44 may specify the images to be used for calculating thecorrection amount for each common subject.

For example, in a case of the example illustrated in FIG. 11, the imageF11 of the first image D1 and the image F22 of the second image D2 maybe specified for the face P1 of the person P, the image F12 of the firstimage D1 and the image F23 of the second image D2 may be specified forthe sky S, and the image F13 of the first image D1 and the image F21 ofthe second image D2 may be specified for the tree T.

In this way, by specifying the images to be used for calculating thecorrection amount, in the subsequent step S150, the correction amount iscalculated from the specified images as described above.

As described above, in the image correction device 16 according to thepresent embodiment, the correction amount to be used for colorcorrection is calculated from the images having relatively similarbrightness values, and thus the color correction can be performed withhigher accuracy.

Third Embodiment

Hereinafter, a third embodiment will be described in detail. In thepresent embodiment, the same components and operations as thosedescribed in the first embodiment and the second embodiment are denotedby the same reference numerals, and a detailed description thereof willbe omitted.

The configurations of the imaging system 10 and the image correctiondevice 16 according to the present embodiment are similar to theconfigurations of the imaging system 10 and the image correction device16 according to the first embodiment (refer to FIGS. 1, 3, and 4), andthus a description thereof will be omitted.

On the other hand, an operation of the image correction device 16according to the present embodiment is different in a part of the imagecorrection processing. In the first embodiment and the secondembodiment, as color correction performed by the image correction device16 in the image correction processing, a case where color correction formaking the colors of the same scenes between the first image D1 and thesecond image D2 similar to each other is automatically performed isdescribed. In the present embodiment, a form in which the user furtherperforms color correction as so-called post production will bedescribed.

FIG. 13 illustrates a flowchart illustrating an example of a flow ofimage correction processing according to the present embodiment. Asillustrated in FIG. 13, the image correction processing according to thepresent embodiment is different in that processing of step S111A andprocessing of step S111B are executed between step S110 and step S112 ofthe image correction processing (refer to FIG. 5) according to the firstembodiment.

In the present embodiment, as described above, after the colorcorrection processing is ended in step S110, the process proceeds tostep S111A. In step S111A, the correction unit 44 determines whether ornot the user performs color correction as post production, that is,whether or not the user performs color correction by the operation unit24 by referring to at least one of the first image D1 or the secondimage D2 displayed on the display unit 23. The color correctionperformed in step S110 of the present embodiment is an example of firstcolor correction according to the present disclosure, and the colorcorrection performed as post production by the user in the presentembodiment is an example of second color correction according to thepresent disclosure.

After processing of step S110 is ended, in the present embodiment, as anexample, in a case where the user does not operate the operation unit 24even after a predetermined period has elapsed, or in a case where theuser instructs to end the image correction processing via the operationunit 24, a determination result in step S111A is No, and the processproceeds to step S112. On the other hand, in a case where the userperforms the color correction using the operation unit 24, adetermination result in step S111A is Yes, and the process proceeds tostep S111B. FIG. 14 illustrates an example of color correction performedas post production by the user. The example illustrated in FIG. 14illustrates a state where the saturation of the entire image of thefirst image D1 is corrected. In other words, a case where the saturationof the image of the first image D1 is overall shifted is illustrated.

In the next step S111B, the correction unit 44 performs similar colorcorrection on all the images of the same scene as the image on which thecolor correction is performed by the user. As a specific example, in acase where the user performs the color correction (saturation shift)illustrated in FIG. 14 on one image of the first images D1, thecorrection unit 44 similarly performs saturation shift as colorcorrection, on the first image D1 of the same scene as the image onwhich the color correction is performed. Further, as in the exampleillustrated in FIG. 15, saturation shift as color correction issimilarly performed on all the images of the second image D2 associatedwith the same scene as the first image D1 on which the saturation shiftis performed.

In this way, the image correction device 16 according to the presentembodiment automatically performs color correction in which postproduction of color correction by the user is reflected, in addition tocolor correction of reducing a difference between the first image D1 andthe second image D2, that is, a difference between the first imagingdevice 12 and the second imaging device 14. Therefore, according to theimage correction device 16 of the present embodiment, the user does notneed to perform the color correction on both of the first image D1 andthe second image D2, and thus it is possible to reduce labor of theuser.

As described above, the image correction device 16 according to thepresent embodiment includes the reception unit 40, the detection unit42, and the correction unit 44. The reception unit 40 receives the firstimage D1 and the second image D2, which are obtained by imaging by thefirst imaging device 12 and the second imaging device 14, and theimaging condition that is at least one piece of information on animaging date and time or information on an imaging locationcorresponding to each of the first image D1 and the second image D2. Thedetection unit 42 detects the same scene between images indicated by thefirst image D1 and the second image D2 based on the imaging conditionscorresponding to each of the first image D1 and the second image D2received by the reception unit 40. The correction unit 44 extracts, fromeach of the images indicated by the first image D1 and the second imageD2 corresponding to the same scene detected by the detection unit 42, acommon subject which is common between the images, and performs, on thecorresponding image, color correction of making colors of the extractedcommon subject similar to each other.

With such a configuration, according to the image correction device 16of the present embodiment, it is possible to reduce a difference incolor between moving images obtained by imaging by each of the pluralityof imaging devices. Therefore, in a case where the first image D1 andthe second image D2 of the same scene are combined and edited into onemoving image, a natural moving image with a sense of unity can beobtained. Further, since the image correction device 16 automaticallyperforms color correction for each same scene without a request of postproduction by the user, labor of the user can be reduced, and a user whois unfamiliar with imaging can easily edit a moving image with a senseof unity.

In the embodiments, the form in which the color of the second image D2is matched with the color of the first image D1 has been described. Onthe other hand, the present disclosure is not limited to theembodiments. For example, a form in which the color of the first imageD1 is matched with the color of the second image D2 may be used, or aform in which the color of the first image D1 and the color of thesecond image D2 are matched with a predetermined color such as a colordesired by the user may be used. In addition, in a case where aplurality of common subjects are extracted, a color for matching may beset for each common subject.

In the embodiments, the form in which the imaging devices used by theuser for imaging the imaging target are two imaging devices of the firstimaging device 12 and the second imaging device 14 has been described.On the other hand, the number of the imaging devices used for imaging isnot limited.

Further, in the embodiments, the form in which the imaging system 10includes the imaging devices (the first imaging device 12 and the secondimaging device 14) and the image correction device 16 as separatedevices has been described. On the other hand, the present disclosure isnot limited to the form. For example, one of the imaging devices mayhave the function of the image correction device 16. FIG. 16 illustratesan example of a configuration of the imaging system 10 in this case. Theimaging system 10 illustrated in FIG. 16 illustrates a form in which thefirst imaging device 12 has a function of the image correction device16. FIG. 17 illustrates a block diagram of an example of a functionalconfiguration of the first imaging device 12 illustrated in FIG. 16. Asillustrated in FIG. 17, the first imaging device 12 includes an imagingunit 50 and an image correction device 16 including a reception unit 40,a detection unit 42, and a correction unit 44. The detection unit 42 andthe correction unit 44 have the same functions as those in theembodiments, and thus a description thereof will be omitted. On theother hand, the imaging unit 50 illustrated in FIG. 17 has a function ofimaging a first image D1, which is a moving image of a subject, andoutputting moving image data of the first image D1 obtained by imaging.In addition, the reception unit 40 receives the first image D1 (movingimage data) output from the imaging unit 50, the second image D2obtained by imaging by the second imaging device 14, and at least onepiece of information on an imaging date and time or information on animaging location corresponding to each of the first image D1 and thesecond image D2. Further, the present disclosure is not limited to theforms illustrated in FIG. 16 and FIG. 17, and the image correctiondevice 16 may have an imaging function such as including the imagingunit 50.

In the embodiments, for example, as a hardware structure of a processingunit that executes various processing such as processing in thereception unit 40, the detection unit 42, and the correction unit 44,the following various processors may be used. The various processorsinclude, as described above, a CPU, which is a general-purpose processorthat functions as various processing units by executing software(program), and a dedicated electric circuit, which is a processor havinga circuit configuration specifically designed to execute a specificprocess, such as a programmable logic device (PLD) or an applicationspecific integrated circuit (ASIC) that is a processor of which thecircuit configuration may be changed after manufacturing such as a fieldprogrammable gate array (FPGA).

One processing unit may be configured by one of these variousprocessors, or may be configured by a combination of two or moreprocessors of the same type or different types (for example, acombination of a plurality of FPGAs, or a combination of a CPU and anFPGA). Further, the plurality of processing units may be configured byone processor.

As an example in which the plurality of processing units are configuredby one processor, firstly, as represented by a computer such as a clientand a server, a form in which one processor is configured by acombination of one or more CPUs and software and the processor functionsas the plurality of processing units may be used. Secondly, asrepresented by a system on chip (SoC) or the like, a form in which aprocessor that realizes the function of the entire system including theplurality of processing units by one integrated circuit (IC) chip isused may be used. As described above, the various processing units areconfigured by using one or more various processors as a hardwarestructure.

Further, as the hardware structure of the various processors, morespecifically, an electric circuit (circuitry) in which circuit elementssuch as semiconductor elements are combined may be used.

Further, in the embodiments, the form in which the image correctionprogram 30 is stored (installed) in the storage unit 22 in advance hasbeen described. On the other hand, the present disclosure is not limitedthereto. The image correction program 30 may be provided by beingrecorded on a recording medium such as a compact disk read only memory(CD-ROM), a digital versatile disk read only memory (DVD-ROM), or aUniversal Serial Bus (USB) memory. Further, the image correction program30 may be downloaded from an external device via a network.

All documents, patent applications, and technical standards mentioned inthis specification are incorporated herein by reference to the sameextent as in a case where each document, each patent application, andeach technical standard are specifically and individually described bybeing incorporated by reference.

EXPLANATION OF REFERENCES

-   -   10: imaging system    -   12: first imaging device    -   14: second imaging device    -   16: image correction device    -   20: CPU    -   21: memory    -   22: storage unit    -   23: display unit    -   24: operation unit    -   26: external I/F    -   29: bus    -   30: image correction program    -   40: reception unit    -   42: detection unit    -   44: correction unit    -   50: imaging unit    -   D1: first image    -   D2: second image    -   F11, F12, F13, F21, F22, F23: image (frame)    -   P: person    -   P1: face    -   PG1, PG2: person image    -   H: house    -   HG1, HG2: house image    -   S: sky    -   SG1, SG2: sky image    -   T: tree    -   TG1, TG2: tree image

What is claimed is:
 1. An image correction device comprising: aprocessor configured to: receive a plurality of pieces of moving imagedata obtained by imaging by each of a plurality of imaging devices andat least one piece of information on an imaging date and time orinformation on an imaging location corresponding to each of theplurality of pieces of moving image data; detect the same scene betweenimages indicated by the plurality of pieces of moving image data basedon the at least one piece of information corresponding to each of theplurality of pieces of moving image data which are received; andextract, from each of the images indicated by the plurality of pieces ofmoving image data corresponding to the same scene which is detected, asubject which is common between the images and perform, on thecorresponding images, color correction of making colors of the extractedsubject similar to each other, wherein, in a case where a plurality ofthe subjects are extracted, the processor performs, on all of theplurality of subjects, color correction of correcting each hue based ona correction amount of each subject making colors of the subject similarto each other as a whole.
 2. The image correction device according toclaim 1, wherein the processor performs the color correction by makingsaturations of the extracted subject similar to each other in ahue-dependent manner.
 3. The image correction device according to claim2, wherein the processor calculates a correction amount to be used forthe color correction, based on images in which brightness values of theextracted subject are regarded to be the same, among the imagesindicated by the plurality of pieces of moving image data correspondingto the same scene.
 4. The image correction device according to claim 3,wherein, in a case where a plurality of the subjects are extracted, theprocessor calculates, for each of the subjects, a correction amount tobe used for the color correction, based on images in which brightnessvalues of the subject are regarded to be the same.
 5. The imagecorrection device according to claim 4, wherein, after the colorcorrection as first color correction is performed, in a case wheresecond color correction different from the first color correction isfurther performed on an image indicated by one piece of moving imagedata among the plurality of pieces of moving image data, the processorperforms the second color correction on images indicated by the otherpieces of moving image data among the plurality of pieces of movingimage data.
 6. The image correction device according to claim 3,wherein, after the color correction as first color correction isperformed, in a case where second color correction different from thefirst color correction is further performed on an image indicated by onepiece of moving image data among the plurality of pieces of moving imagedata, the processor performs the second color correction on imagesindicated by the other pieces of moving image data among the pluralityof pieces of moving image data.
 7. The image correction device accordingto claim 3, wherein an upper limit of a correction amount of the colorcorrection is predetermined according to a type of the subject.
 8. Theimage correction device according to claim 2, wherein, after the colorcorrection as first color correction is performed, in a case wheresecond color correction different from the first color correction isfurther performed on an image indicated by one piece of moving imagedata among the plurality of pieces of moving image data, the processorperforms the second color correction on images indicated by the otherpieces of moving image data among the plurality of pieces of movingimage data.
 9. The image correction device according to claim 2, whereinan upper limit of a correction amount of the color correction ispredetermined according to a type of the subject.
 10. The imagecorrection device according to claim 1, wherein the processor calculatesa correction amount to be used for the color correction, based on imagesin which brightness values of the extracted subject are regarded to bethe same, among the images indicated by the plurality of pieces ofmoving image data corresponding to the same scene.
 11. The imagecorrection device according to claim 10, wherein, in a case where aplurality of the subjects are extracted, the processor calculates, foreach of the subjects, a correction amount to be used for the colorcorrection, based on images in which brightness values of the subjectare regarded to be the same.
 12. The image correction device accordingto claim 11, wherein, after the color correction as first colorcorrection is performed, in a case where second color correctiondifferent from the first color correction is further performed on animage indicated by one piece of moving image data among the plurality ofpieces of moving image data, the processor performs the second colorcorrection on images indicated by the other pieces of moving image dataamong the plurality of pieces of moving image data.
 13. The imagecorrection device according to claim 11, wherein an upper limit of acorrection amount of the color correction is predetermined according toa type of the subject.
 14. The image correction device according toclaim 10, wherein, after the color correction as first color correctionis performed, in a case where second color correction different from thefirst color correction is further performed on an image indicated by onepiece of moving image data among the plurality of pieces of moving imagedata, the processor performs the second color correction on imagesindicated by the other pieces of moving image data among the pluralityof pieces of moving image data.
 15. The image correction deviceaccording to claim 3, wherein an upper limit of a correction amount ofthe color correction is predetermined according to a type of thesubject.
 16. The image correction device according to claim 1, wherein,after the color correction as first color correction is performed, in acase where second color correction different from the first colorcorrection is further performed on an image indicated by one piece ofmoving image data among the plurality of pieces of moving image data,the processor performs the second color correction on images indicatedby the other pieces of moving image data among the plurality of piecesof moving image data.
 17. The image correction device according to claim1, wherein an upper limit of a correction amount of the color correctionis predetermined according to a type of the subject.
 18. An imagingdevice comprising: an imaging sensor that images a moving image of asubject and outputs moving image data obtained by imaging, and aprocessor configured to: receive a plurality of pieces of moving imagedata, which include moving image data output from the imaging sensor andmoving image data obtained by imaging by another imaging device, and atleast one piece of information on an imaging date and time orinformation on an imaging location corresponding to each of theplurality of pieces of moving image data; detect the same scene betweenimages indicated by the plurality of pieces of moving image data basedon the at least one piece of information corresponding to each of theplurality of pieces of moving image data which are received; andextract, from each of the images indicated by the plurality of pieces ofmoving image data corresponding to the same scene which is detected, asubject which is common between the images and perform, on thecorresponding image, color correction of making colors of the extractedsubject similar to each other, wherein, in a case where a plurality ofthe subjects are extracted, the processor performs, on all of theplurality of subjects, color correction of correcting each hue based ona correction amount of each subject making colors of the subject similarto each other as a whole.
 19. An image correction method executed by acomputer, the method comprising: receiving a plurality of pieces ofmoving image data obtained by imaging by each of a plurality of imagingdevices and at least one piece of information on an imaging date andtime or information on an imaging location corresponding to each of theplurality of pieces of moving image data; detecting the same scenebetween images indicated by the plurality of pieces of moving image databased on the at least one piece of information corresponding to each ofthe plurality of pieces of moving image data which are received; andextracting, from each of the images indicated by the plurality of piecesof moving image data corresponding to the detected same scene, a subjectwhich is common between the images and performing, on the correspondingimage, color correction of making colors of the extracted subjectsimilar to each other, in a case where a plurality of the subjects areextracted, performing, on all of the plurality of subjects, colorcorrection of correcting each hue based on a correction amount of eachsubject making colors of the subject similar to each other as a whole.20. A non-transitory computer readable recording medium storing an imagecorrection program causing a computer to execute a process comprising:receiving a plurality of pieces of moving image data obtained by imagingby each of a plurality of imaging devices and at least one piece ofinformation on an imaging date and time or information on an imaginglocation corresponding to each of the plurality of pieces of movingimage data; detecting the same scene between images indicated by theplurality of pieces of moving image data based on the at least one pieceof information corresponding to each of the plurality of pieces ofmoving image data which are received; and extracting, from each of theimages indicated by the plurality of pieces of moving image datacorresponding to the detected same scene, a subject which is commonbetween the images and performing, on the corresponding image, colorcorrection of making colors of the extracted subject similar to eachother, in a case where a plurality of the subjects are extracted,performing, on all of the plurality of subjects, color correction ofcorrecting each hue based on a correction amount of each subject makingcolors of the subject similar to each other as a whole.